package org.csu.code.api.service;

import org.csu.code.api.common.CommonResponse;
import org.csu.code.api.entity.Farm;

import java.util.List;

public interface FarmService {
    CommonResponse<Farm> getFarmByFarmId(int farmId);

    CommonResponse<Farm> getFarmByUserId(int userId);

    CommonResponse<List<Farm>> getAllFarms();


//    CommonResponse<>
}
